package com.vains.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * 重新设置用户的角色信息入参
 * @author vains
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserRoleReq对象", description="重新设置用户的角色信息入参")
public class UserRoleReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户的ID")
    private Integer userId;

    @ApiModelProperty(value = "用户对应的角色ID")
    private List<Integer> userRoleId;

}
